﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.IsoParametricCurves.CUiISOParametricCurvesCmd
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using System.Resources;
using System.Windows.Forms;
using Tecnomatix.Engineering;
using Tecnomatix.Engineering.Ui;


namespace DnProcessSimulateCommands.IsoParametricCurves;

public class CUiISOParametricCurvesCmd : TxButtonCommand
{
  public CUiIsoParametricCurvesEnabler m_enabler;
  private CUiISOParametricCurvesApp m_app;

  public CUiISOParametricCurvesCmd()
  {
    this.m_enabler = new CUiIsoParametricCurvesEnabler();
    this.m_app = new CUiISOParametricCurvesApp();
  }

  ~CUiISOParametricCurvesCmd()
  {
    try
    {
    }
    finally
    {
      // ISSUE: explicit finalizer call
      // ISSUE: explicit non-virtual call
      __nonvirtual (((object) this).Finalize());
    }
  }

  public virtual string Bitmap
  {
    get => this.GetResourceManager().GetString("ISOPARAMETRIC_CURVES_BITMAP");
  }

  public virtual ITxImage Image
  {
    get => (ITxImage) TxImageManager.GetImageByKey("CreateIsoparametricCurves");
  }

  public virtual string Category
  {
    get => this.GetResourceManager().GetString("ISOPARAMETRIC_CURVES_CATEGORY");
  }

  public virtual ITxCommandEnabler CommandEnabler => (ITxCommandEnabler) this.m_enabler;

  public virtual string Description
  {
    get => this.GetResourceManager().GetString("ISOPARAMETRIC_CURVES_DESCRIPTION");
  }

  public virtual void Execute(object cmdParams)
  {
    ((Control) new IsoParametricCurvesDialog()).Show();
  }

  public virtual string Name => this.GetResourceManager().GetString("ISOPARAMETRIC_CURVES_NAME");

  public virtual string Tooltip
  {
    get => this.GetResourceManager().GetString("ISOPARAMETRIC_CURVES_TOOLTIP");
  }

  private ResourceManager GetResourceManager()
  {
    return new ResourceManager("DnProcessSimulateCommands.StringTable", ((object) this).GetType().Assembly);
  }
}
